package tuanda.soict.firstsun.BuildingPackage;

/**
 * @author tuanda_soict_hut
 * @version 0.0.1
 * @since 5-8-2012
 */
public class Gold_Building extends Building {

    private int goldProduce;

    public Gold_Building(String nam, int def, int id, int groID,
            int obsPoint, int typ, int goldProd, int x, int y, int dataID) {
        super(nam, def, id, groID, obsPoint, typ, x, y, dataID);
        setGoldProduce(goldProd);
    }

    public final int getGoldProduce() {
        return this.goldProduce;
    }

    public final void setGoldProduce(int goldProd) {
        this.goldProduce = goldProd;
    }

    @Override
    public int getBuildingType() {
        return PRODUCE_GOLD_TYPE;
    }
}
